UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

Lighttpd must have MIME types for csh or sh shell programs disabled.


Overview

Finding ID Version Rule ID IA Controls Severity
V-240240 VRAU-LI-000185 SV-240240r879587_rule Medium
Description
Users must not be allowed to access the shell programs. Shell programs might execute shell escapes and could then perform unauthorized activities that could damage the security posture of the web server. A shell is a program that serves as the basic interface between the user and the operating system. In this regard, there are shells that are security risks in the context of a web server and shells that are unauthorized in the context of the Security Features User's Guide. Lighttpd must be configured to disable MIME types for csh or sh shell programs.
STIG Date
VMware vRealize Automation 7.x Lighttpd Security Technical Implementation Guide 2023-09-12

Details

Check Text ( C-43473r667895_chk )
At the command prompt, execute the following command:

cat /opt/vmware/etc/lighttpd/lighttpd.conf | egrep '".sh"|".csh"'

If the command returns any value, this is a finding.
Fix Text (F-43432r667896_fix)
Navigate to and open /opt/vmware/etc/lighttpd/lighttpd.conf

Delete any line(s) that return the value of csh or sh.